package com.jsd2412.backend.meals.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class MealsVO {
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "分组ID")
    private Long groupId;
    @ApiModelProperty(value = "膳食编码")
    private String code;
    @ApiModelProperty(value = "膳食名称")
    private String name;
    @ApiModelProperty(value = "价格")
    private String price;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "折扣")
    private String discount;
    @ApiModelProperty(value = "图片路径")
    private String image;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "禁忌人群")
    private String forbiddenPeople;
    @ApiModelProperty(value = "备注说明")
    private String remark;
    @ApiModelProperty(value = "口味")
    private String taste;
    @ApiModelProperty(value = "是否推荐")
    private Boolean recommended;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
